.no-data-block {
  line-height: 30px;
  margin-top: 10px;
  text-align: center;
  color: #595959;
   font-size: 14px;
   padding-bottom:12px;
  .service-no-icon{
  display: block;
  height: 134px;
  margin: 32px auto 16px;
}
}

.el-form-item--small.el-form-item{
  margin-bottom: 16px;
}
.department-detail-header-title-box.department-detail-header-title span{
  margin-right:0;
  font-weight: normal;
}
.add-dialog-container.service_body{
  padding:10px;
  z-index:2000;
  .el-form.demo-ruleForm{
    width: 98%;
    overflow:hidden;
    padding-top:10px
  }
  .base-modal.transition__container{
    max-height: calc(100% - 120px);
    max-height: calc(100vh - 120px);
  }
}
.dialog_body{
  .el-dialog__body{
    height: 500px;
    overflow-y: auto;
  }
}
.el-tabs__header {
  position:sticky;
  top:0;
  z-index:99;
  background:#fff;
  margin-left: -1px;
      margin: 0;
}
.el-tabs__content {
  min-width: 300px;
  overflow-x: hidden;
  overflow-y: auto;
}

.collapse {
  span {
    padding: 5px;
    cursor: pointer;
    color: #666;
  }
  div{
    height: 53px;
    border-top: none;
    i.iconfont.icon-mianbanjiantou{
      font-size:18px;
    }
  }
}

.el-tabs-expand {
  width: 400px;
}

.dept-search {
  display: flex;
  align-items: center;
  width: 100%;
  align-content: center;
  margin-top: 10px;
  padding-bottom: 10px;
  .el-input {
    margin: 0 20px;
  }
  .dept-add {
    color: $color-primary-light-6;
    font-size: 30px;
    margin-right: 20px;
    cursor: pointer;
  }
}

.dept-search-border {
  // border-top: solid 1px #d9d9d9;
  padding-top: 10px;
}

.dept-header-see {
  margin-top: 20px;
  margin-left: 10px;
}
.dept-role-item {
  &:hover,
  &.department-role-selected {
    background-color: $color-primary-hover !important;
    color: $color-primary;
  }
}
.dept-del-role-item {
  flex: 1;
  position: absolute;
  bottom: 0;
  width: 100%;
  margin-top: 10px;
  border-top: 1px solid #eee;
}
.department-child-item.dept-del-tag-item {
  bottom: 44px;
  line-height: 0;
  height: auto;
  border: none;
  margin-bottom: 10px;
  .dept-header-see {
    margin-top: 0;
  }
}


.text-center {
  display: block;
  text-align: center;
  color: $color-primary-light-6;
}
.create-role {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 10px;
  margin-right: 10px;
}

.dept-search-group {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  padding:16px 0;
  .dept-search-group-left {
    display: flex;
    input {
      height: 34px;
      line-height: 34px;
    }
    button {
     margin-right: 8px;
    }
    .advanced-search-btn{
      margin-right: 12px;
      @include fontColor;
    }
  }
  .el-dropdown {
    padding: 4px 15px;
    margin-left: 8px;
    font-size: 14px;
    border-radius: 4px;
    outline: none;
    line-height: 24px;
    cursor: pointer;
  }
}

.department-main-right {
  .margin-top-0 {
    margin-top: 0;
  }
}
.department-user-header-total-top {
  display: flex;
  justify-content: space-between;
  line-height: 55px;
  border-bottom: 1px solid #e8e8e8;
  .title {
    font-size: 20px;
    color: #262626;
  }
  .surplus {
    color: #ff4d4f;
  }
  .margin-letft-24 {
    margin-left: 24px;
  }
  span {
    color: #595959;
  }
}
.department-user-header-total-bottom {
  line-height: 40px;
  margin-bottom: 12px;
  color: #595959;
}

.dept-edit-del {
  button {
    padding: 4px 15px;
    margin-left: 8px;
  }
}

.super-admin-label {
  background: rgba(255, 146, 0, 0.16);
  border-radius: 4px;
  border: 1px solid rgba(255, 146, 0, 0.16);
  color: #FF9200;
  padding: 0px 10px;
  font-size: 10px;
  display: inline-block;
  height: 24px;
  line-height: 24px;
  margin: 8px 5px;
}
.super-admin-label-auto{
  background: $color-primary-light-1;
border: 1px solid $color-primary-light-1;
color:$color-primary-light-6
}

.reset-dialog-form {
  label {
    margin-bottom: 20px;
  }
}

html,
body,
.department-container {
  height: 100%;
}
body {
  padding: 10px;
  min-width: 1100px;
}

.department-container {
  background: #edf0f5;
  border-radius: 3px;
  box-shadow: 0 1px 4px rgba(216, 216, 216, 0.65);

  display: flex;
  flex-flow: column nowrap;
}

.department-main {
  display: flex;
  flex-flow: row nowrap;
  flex: 1;
  height: 100%;
  position: relative;
}

.department-main-left {
  display: flex;
  flex: 2;
  flex-flow: column nowrap;
  min-width: 300px;

  .bc-dept {
    width: 100%;
  }

  .base-tree-node-content {
    line-height: 32px;
  }

  .base-tree-node-arrow {
    width: 35px;
  }
}

.department-main-right {
  background: #edf0f5;
  border-radius: 2px;
  flex: 1;
  height: 100%;
  min-width: 400px;
  display:flex;
  flex-direction:column;
  overflow-y: auto;
}

.department-tree-view {
  flex: 1;
  padding-top: 5px;
  overflow-y: auto;
}

.department-detail-header {
  border-radius: 4px;
  padding: 16px;
  background: #fff;
  &-title {
    display: flex;
    justify-content: space-between;
    line-height: 34px;

    span.title {
      font-size: 18px;
      font-weight: bold;

      margin-right: 30px;
    }
  }
}

.department-child-block {

  &-header {
    margin-bottom: 10px;
  }
}
.department-main-right_bgFFF.department-main-right {
  .department-user-block {
    padding: 0 10px 0 10px;
    border-radius: 4px;
    background: #fff;
    position:relative;
  }
}
.department-child-block,
.department-user-block {
  &-header {
    display: flex;
    justify-content: space-between;

    &-text {
      i {
        font-size: 20px;
      }
      span {
        font-size: 18px;
        font-weight: bold;
      }
    }

    &-btn {
    }
  }
}

.active-btn {
  cursor: pointer;
  color: rgb(15, 118, 139);
}

.department-user-table {
  position:relative;
  .view-detail-btn {
    color: $color-primary-light-6;
    display: inline-block;
     min-width: 52px;
    // max-width: 140px;
    @include text-ellipsis();
  }
  .icon-people {
    font-size: 14px;
  }
  .table-footer {
    display: flex;
    justify-content: space-between;

    padding: 10px;

    background: #fff;
    border-radius: 0 0 3px 3px;

    .list-info {
      font-size: 13px;
      line-height: 32px;
      margin: 0;
      color: #767e89;
    }
    .el-pagination {
      white-space: nowrap;
      padding: 2px 5px;
      color: #303133;
      font-weight: bold;
    }
    .selectedCount {
      color: $color-primary;
      padding: 0 3px;
      width: 15px;
      text-align: center;
    }
    .select-init-text:hover {
      cursor: pointer;
    }
  }
}



.department-child-item {
  border-bottom: 1px solid #eee;
  cursor: pointer;

  display: flex;
  justify-content: space-between;

  background: #fff;
  line-height: 44px;
  padding: 0 20px;

  &:hover {
    background-color: #fafafa;
  }
}
.el-tabs.dept-tabs {
  background: #fff;
  padding: 0 20px;
  border-radius: 4px;
 
  .el-tabs__nav-wrap::after{
    height: 1px;
  }
}
.department-left {
  position: relative;
  background: #fff;
  border-radius: 4px;
  border-top-right-radius: 0;
  .base-button {
    margin: 14px 20px 0;
    width: 260px;
  }
  .sync-button {
    width: 360px;
  }
}
.department-state {
  .el-tabs__content {
    height: calc(100% - 100px);
  }
}
.base-modal-mask {
  z-index: 5000;
}
.amap-sug-result {
  z-index: 5001;
}
.el-tabs{
  .el-tabs__content{
    overflow:visible !important;
  }
}

.reset-dialog-form-dialog {
  .el-dialog__body {
    padding-bottom: 50px;
  }
}
